package com.john.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.john.bean.SysuserBean;
import com.john.service.base.SysuserService;


@RestController
public class SysuserController {
	
	@Autowired
	private SysuserService sysuserService;
	
	
	@GetMapping("/getSysUsers")
	public List<SysuserBean> getSysUsers() {
		return sysuserService.getSysUsers();
	}
}